package com.gxa.service.investment;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.gxa.dto.investmentDto.PlanDto;
import com.gxa.entity.investment.Plan;
import com.gxa.vo.investmentVo.PlanVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:51
 */
public interface PlanService extends IService<Plan> {
    int add(Plan plan);
    int delete(int id);
    PageInfo<PlanVo> queryByPlanDto(Integer pageNum, Integer pageSize, PlanDto planDto);
    int update(Plan plan);
}
